package com.hanwei.uap.model.po;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="uap_device")
public class Device {
	@Id
	private String deviceId;
	private String deviceType;
	private String manufacturerCode;
	private String manufacturerName;
	private String regionCode;
	private String regionName;
	private String address;
	private String ewlng;
	private Double longitude;
	private String nslat;
	private Double latitude;
	private Double altitude;
	private String serverHost;
	private Integer serverPort;
	private String bootTime;
	private String dataTime;
	private String statTime;
	private Integer connDuration;
	private String connStatus;
	private String connUptime;
	private String createUser;
	private String createTime;
	private String updateTime;
	private String remark;

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getManufacturerCode() {
        return manufacturerCode;
    }

    public void setManufacturerCode(String manufacturerCode) {
        this.manufacturerCode = manufacturerCode;
    }

    public String getManufacturerName() {
        return manufacturerName;
    }

    public void setManufacturerName(String manufacturerName) {
        this.manufacturerName = manufacturerName;
    }

    public String getRegionCode() {
        return regionCode;
    }

    public void setRegionCode(String regionCode) {
        this.regionCode = regionCode;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEwlng() {
        return ewlng;
    }

    public void setEwlng(String ewlng) {
        this.ewlng = ewlng;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public String getNslat() {
        return nslat;
    }

    public void setNslat(String nslat) {
        this.nslat = nslat;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getAltitude() {
        return altitude;
    }

    public void setAltitude(Double altitude) {
        this.altitude = altitude;
    }

    public String getServerHost() {
        return serverHost;
    }

    public void setServerHost(String serverHost) {
        this.serverHost = serverHost;
    }

    public Integer getServerPort() {
        return serverPort;
    }

    public void setServerPort(Integer serverPort) {
        this.serverPort = serverPort;
    }

    public String getBootTime() {
        return bootTime;
    }

    public void setBootTime(String bootTime) {
        this.bootTime = bootTime;
    }

    public String getDataTime() {
        return dataTime;
    }

    public void setDataTime(String dataTime) {
        this.dataTime = dataTime;
    }

    public String getStatTime() {
        return statTime;
    }

    public void setStatTime(String statTime) {
        this.statTime = statTime;
    }

    public Integer getConnDuration() {
        return connDuration;
    }

    public void setConnDuration(Integer connDuration) {
        this.connDuration = connDuration;
    }

    public String getConnStatus() {
        return connStatus;
    }

    public void setConnStatus(String connStatus) {
        this.connStatus = connStatus;
    }

    public String getConnUptime() {
        return connUptime;
    }

    public void setConnUptime(String connUptime) {
        this.connUptime = connUptime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Device{" +
                "deviceId='" + deviceId + '\'' +
                ", deviceType='" + deviceType + '\'' +
                ", manufacturerCode='" + manufacturerCode + '\'' +
                ", manufacturerName='" + manufacturerName + '\'' +
                ", regionCode='" + regionCode + '\'' +
                ", regionName='" + regionName + '\'' +
                ", address='" + address + '\'' +
                ", ewlng='" + ewlng + '\'' +
                ", longitude=" + longitude +
                ", nslat='" + nslat + '\'' +
                ", latitude=" + latitude +
                ", altitude=" + altitude +
                ", serverHost='" + serverHost + '\'' +
                ", serverPort=" + serverPort +
                ", bootTime='" + bootTime + '\'' +
                ", dataTime='" + dataTime + '\'' +
                ", statTime='" + statTime + '\'' +
                ", connDuration=" + connDuration +
                ", connStatus='" + connStatus + '\'' +
                ", connUptime='" + connUptime + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
